<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{$config_sitename}</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="__CSS__/daoshipp.css" rel="stylesheet">
</head>
<body class="body-pad cl-b-lgrey">
	<div class="loading-wrapper">
		<div class="loading"></div>
	</div>
	<div class="ub ub-ac page-header">
		<a href="javascript:history.back();" class="clickable"><span class="icon-back"></span></a>
		<div class="ub-f1 page-name">{$info.title}</div>
		<a href="{:U('Index/index')}" class="clickable "><span class="ub-pc icon-back-home"></span></a>
	</div>
	<div class="row ssp-detail-wrapper cl-b-white" data-pic="{$info.all_pic}">
		<div class="ssp-detail-user ub">
			<img src="{$info.uavatar}" class="lazy tx-cir">
			<div>
				<p class="cl-f-dgrey f14 ssp-detail-username l20">{$info.nickname}</p>
				<p class="cl-f-lorange f12 l18">发布于：{$info.create_time}</p>
			</div>
		</div>
<!-- 		<div class="ssp-detail-intro f12 cl-f-grey"> -->
<!-- 			{$info.content} -->
<!-- 		</div> -->
<!-- 		<foreach name="info.image" item="ig"> -->
<!-- 		<div class="spp-detail-img"> -->
<!-- 			<img class="lazy yf-pic-show" src="{$ig}" data-pic="{$ig}"> -->
<!-- 		</div> -->
<!-- 		</foreach> -->
		<div class="ssp-detail-intro f12 cl-f-grey spp-detail-img">
			{$info.content2}
		</div>
		<div class="ssp-deail-upload ub ub-pc">
			<a href="{:U('teach/add')}" class="cl-b-lorange upload-btn ub ub-pc ub-ac">
				<img src="__IMAGES__/icon-write2.png"><p class="cl-f-white f12">发布话题</p>
			</a>
		</div>
	</div>
	<ul id="thelist" class="comment-list-wrapper cl-b-white">
		<li class="comment-list-title ub ub-pj row">
			<p class="f16">大家一起交流(<span class="comment-count">{$info.msgnum|getNullNum}</span>)</p>
			<p class="f14 comment-js" data-url="/weixin/index/msgList?type={$type}&id={$info.teachid}">查看所有评论</p>
		</li>
		<foreach name="msglist" item="ml">
		<li class="ub comment-h1 clickable row" id="msg_{$ml.id}">
			<img src="__WEBURL__{$ml.uavatar}" class="tx-cir lazy">
			<div class="comment-text ub-f1">
				<p class="cl-f-lorange comment-user" data-user="{$ml.nickname}" data-id="{$ml.id}" data-uid="{$ml.userid}">{$ml.nickname}</p>
				<p class="cl-f-lgrey comment-time">{$ml.create_time|format_time}</p>
				<div class="cl-f-grey comment-content">
					<p>{$ml.content}</p>
    				<foreach name="ml.childlist" item="cl">
    					<div class="comment-h2 clickable" id="msg_{$cl.id}">
    						<span class="cl-f-lorange comment-user" data-user="{$cl.nickname}" data-id="{$cl.id}" data-uid="{$cl.userid}">@{$cl.touser.nickname}</span>{$cl.content}
    					</div>
    				</foreach>
				</div>
			</div>
		</li>
		</foreach>
	</ul>
	<div class="row cl-b-white send-comment-footer">
		<input type="text" name="content" class="form-control  cl-b-xxlgrey" placeholder="我要写评论"  >
		<input type="hidden" name="infoid" value="{$info.teachid}">
		<input type="hidden" name="type" value="7">
		<input type="hidden" name="parent_id" value="0">
		<input type="hidden" name="touserid" value="0">
		<input type="hidden" name="med" value="comment">
		<a class="cl-f-lorange send-comment-submit" data-type="yes">发送</a>
	</div>
	<script src="__JS__/jquery-1.11.1.min.js"></script>
	<script src="__JS__/jquery.lazyload.min.js"></script>
    <script src="__JS__/custom.js?t=201601201415"></script>
    <script src="__JS__/comment.js?t=201512250948"></script>
    <script src="__JS__/common.js?t=201512241347"></script>
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script>
        var img_url = "__IMAGES__";
		var shareTitle = "{$share.shareTitle}";
		var shareDesc = "{$share.shareDesc}";
		var shareUrl = "{$share.shareUrl}";
		var shareImg = "{$share.sharePic}";
		var jsdk = {$jsdk};
	</script>
	<script src="__JS__/wx.js?t=201512241801"></script>
</body>
</html>